package org.example;

public class Test1
{
    public static void main(String[] args)
    {
        int f = 7;
        for (int i = 0; i < 100; i++)
        {
            if (i % 10 == f || (i / 10) % 10 == f || i % f == 0)
            {
                System.out.println("过");
            }
            else
            {
                System.out.println(i);
            }
        }
    }
}
